package study.spring.jdbc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class JdbcMain {
	public static void main(String[] args) throws Exception{
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"spring.xml", JdbcMain.class);
		JdbcService jdbcService;
		jdbcService = (JdbcService) context.getBean("jdbcServiceTransationTemplate");
		jdbcService.select();
//		jdbcService.update();
	}
}
